package main

import "fmt"

// Author : CSR丶WARRIOR
// Time ： 2020/10/7  22:25
// TOOLS : GoLand
// FILENAME : variableInit.go
// STATEMENT: 变量初始化

func main() {
	var num int = 10
	var age int = 20
	fmt.Println(num) //10
	fmt.Println(age) //20
	//输出多个值
	fmt.Println(age, num) //20 10
	var a int
	a = 13
	fmt.Println(a) //13

	var c int = 10
	var d int = 20
	fmt.Println(c, d) //10 20
	c = d
	fmt.Println(c) //20
}
